package com.aiti.lulian.service;

import com.aiti.base.core.base.service.BaseService;
import com.aiti.base.core.utils.message.Message;
import com.aiti.lulian.dto.EnterpriseDictDataDto;
import com.aiti.lulian.entity.EnterpriseDictData;
import com.aiti.lulian.vo.EnterpriseDictDataVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.List;

public interface IEnterpriseDictDataService extends BaseService<EnterpriseDictData> {

    Message addEnterpriseDictData(EnterpriseDictDataDto dto);

    Message updateEnterpriseDictData(EnterpriseDictDataDto dto);

    Message deleteEnterpriseDictData(String baseId, Integer sort, String enterpriseId, String dictTypeNo);

    List<EnterpriseDictDataVo> getEnterpriseDictList(String enterpriseId, String module, Page<EnterpriseDictData> page);

    Message getEnterpriseDictDataList(String dictTypeNo, String enterpriseId);

    Message maintainEnterpriseDictData();

    Message setEnterpriseDictDataSort(EnterpriseDictDataDto dto);
}
